<html><body>

<h2 style="color:#016E0F"><?php echo ecse_get_email_subject(); ?></h2>

<?php 

echo ecse_get_email_content(); ?>




<!-- 

Test 

-->
<h1>Test Demo Template</h1>

<table cellpadding="5" cellspacing="5" width="100%" height="">
<tr>
  <td colspan="3"><p>Your confirmation number is: #<?php echo ECSE_purchase::get_the_purchase_ID() ?></p>
    <p>Once your order is complete, you will receive a confirmation email from Gallucci USA</p></td>
  </tr>
<tr>
<td><p>Shipping Address:</p>
  <p>
  
  <?php if(ECSE_purchase::get_the_shipping_prop('shipping_method')) { ?>
				<?php echo ECSE_purchase::get_the_shipping_prop('shippingfirstname').' '.ECSE_purchase::get_the_shipping_prop('shippinglastname') ?><br />
				<?php echo ECSE_purchase::get_the_shipping_prop('shippingaddress', ',<br />') ?>
				<?php echo ECSE_purchase::get_the_shipping_prop('shippingcity', ', ') . ECSE_purchase::get_the_shipping_prop('shippingstate').' '.ECSE_purchase::get_the_shipping_prop('shippingpostcode').' '.ECSE_purchase::get_the_shipping_prop('shippingcountry') ?><br />
				<br />
				Shipping via:<br />
				<?php echo ECSE_purchase::get_the_shipping_prop('shipping_method', ', ') ?>
				<?php echo ECSE_purchase::get_the_shipping_prop('shipping_option') ?>
				<?php if( ECSE_purchase::get_the_shipping_prop('tracking_id')!='' ) { ?>
					<br />
					Tracking: <?php echo ECSE_purchase::get_the_shipping_prop('tracking_id') ?>
				<?php } ?><br />
			<?php } ?>
  
  
  
  </p></td>
<td>&nbsp;</td>
<td><p>Your Address:</p>
  <p>
  
  
  
  <?php if(ECSE_purchase::get_the_billing_prop('gateway')) { ?>

				<?php echo ECSE_purchase::get_the_billing_prop('billingfirstname') . ' ' . ECSE_purchase::get_the_billing_prop('billinglastname') ?><br />
				<?php echo ECSE_purchase::get_the_billing_prop('billingaddress', ',<br />') ?>
				<?php echo ECSE_purchase::get_the_billing_prop('billingcity', ', ') . ECSE_purchase::get_the_billing_prop('billingstate').' '.ECSE_purchase::get_the_billing_prop('billingpostcode').' '.ECSE_purchase::get_the_billing_prop('billingcountry') ?><br />
				<br />
				Payment method: 

		<?php } ?>
  
  
  </p></td>
</tr>
<tr>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
</tr>
<tr>
  <td><p>Delivery Method:</p>
    <p>&lt;!-- Content goes here --&gt;</p></td>
  <td>&nbsp;</td>
  <td><p>Billing Information:</p>
    <p><?php echo ECSE_purchase::get_the_billing_prop('gateway') ?></p></td>
</tr>
<tr>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
</tr>
<tr>
  <td colspan="3"><p>Products</p></td>
  </tr>
<tr>
  <td colspan="3">
  <table>
  <tr>
	<td valign="middle">
		<?php 
		/**
		 * Image
		 */
		$src=ECSE_purchase_product::get_the_image();
		if(!empty($src)) { ?>
			<a href="<?php echo ECSE_purchase_product::get_the_permalink() ?>" style="border:none"><img src="<?php echo $src ?>" style="border:solid 1px #ccc" /></a>
		<?php } ?>
	</td>
	<td valign="middle">
		<?php 
		/**
		 * SKU
		 */
		?>
		<a href="<?php echo ECSE_purchase_product::get_the_permalink() ?>" style="color:#444444; text-decoration:none"><?php echo ECSE_purchase_product::get_the_SKU() ?></a>
	</td>
	<td valign="middle">
		<?php 
		/**
		 * Name
		 */
		?>
		<a href="<?php echo ECSE_purchase_product::get_the_permalink() ?>" style="color:#444444; text-decoration:none"><?php echo ECSE_purchase_product::get_the_name(); ?></a>
	</td>
	<td valign="middle" align="right">
		<?php 
		/**
		 * QTY
		 */
		?>
		<?php echo ECSE_purchase_product::get_the_QTY() ?> x
	</td>
	<td valign="middle" align="right" width="60">
		<?php 
		/**
		 * Cost per item (currency pre-formatted)
		 */
		?>
		<?php echo ECSE_purchase_product::get_the_cost() ?>
	</td>
</tr>
  </table>
  
  </td>
  </tr>
<tr>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
</tr>
<tr>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
</tr>
<tr>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td><p>Sub Total:</p>
    <p>Standard Shipping:</p>
    <p>Tax:</p></td>
</tr>
<tr>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td>Total:</td>
</tr>
</table>

<!-- End Test -->



</body></html>

				